/*
Java source file
Copyright: David Leeb 2011
*/
package com.david.documentation.web.view.pages;

import com.david.documentation.web.BasePage;
import org.apache.wicket.markup.html.basic.Label;
import org.apache.wicket.markup.html.link.BookmarkablePageLink;
import org.odlabs.wiquery.ui.button.ButtonBehavior;

public class ErrorPage extends BasePage {

    public ErrorPage() {
        super();
		add(new Label("label",""));
        add(new BookmarkablePageLink("link", getApplication().getHomePage()).add(new ButtonBehavior()));

    }


	public ErrorPage(Exception e){
		super();
		add(new Label("label",e.getMessage()));
		add(new BookmarkablePageLink("link", getApplication().getHomePage()).add(new ButtonBehavior()));
	}

}
